@import "_normal";
@import "_public";

.app-container {
  @include elementSize(100%, 100vh);

  .el-aside {
    transition: width 0.28s ease-out;
    z-index: 1000;
    background: #2a2f55;
    position: relative;
    color: #fff;
    font-size: 16px;

    .subItem {
      text-indent: 25px;
    }

    // font-weight: bold;
    .hdTitle {
      height: 200px;
      line-height: 64px;
      background: #2a2f55;
      font-size: 22px;
      font-weight: bold;
      color: #787ead;
      text-align: center;
      padding-top: 40px;
    }

    .el-menu {
      background: none;
      border-right: none;

      .el-submenu__title,
      .el-menu-item {
        font-size: 16px;
        // font-weight: bold;
        color: #dfe3f3;
        height: 60px;
        line-height: 60px;

        i {
          color: #dfe3f3;
        }
      }

      a {
        display: block;
      }

      ul {
        background: #22274b;
      }
    }

    .el-submenu__title:hover,
    .sider-index:hover {
      background: linear-gradient(to right, rgba(57, 100, 249, .3), rgba(57, 100, 249, 0));
    }

    .el-menu-item:hover {
      background: linear-gradient(to right, rgba(57, 100, 249, .3), rgba(57, 100, 249, 0));
    }

    .sider-hover:focus,
    .el-menu-item:focus {
      background: none;
    }

    .tolink {
      cursor: pointer;
    }

    .sider-index {
      display: block;
      height: 60px;
      line-height: 60px;
      padding: 0 20px;
      font-size: 16px;
      color: #dfe3f3;
      // font-weight: bold;
    }

    .el-icon-setting,
    .cusIcon {
      margin-right: 5px;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      font-size: 18px;
      vertical-align: middle;
      display: inline-block;
    }

    .icon-1::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-1.png) no-repeat center;
    }

    .icon-2::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-2.png) no-repeat center;
    }

    .icon-3::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-3.png) no-repeat center;
    }

    .icon-4::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-4.png) no-repeat center;
    }

    .icon-5::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-5.png) no-repeat center;
    }

    .icon-6::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-6.png) no-repeat center;
    }

    .icon-7::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-7.png) no-repeat center;
    }

    .icon-8::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-8.png) no-repeat center;
    }

    .icon-9::after {
      content: '\20';
      width: 40px;
      height: 40px;
      display: block;
      background: url(../../assets/img/navicon/icon-9.png) no-repeat center;
    }

    // /deep/{
    // 	ul.el-menu.el-menu--inline{
    // 		position: fixed;
    // 		width: 210px;
    // 		height: 100%;
    // 		top: 0;
    // 		left: 280px;
    // 		background: #F00;
    // 	}
    // }

    a {
      position: relative;
    }

    a.router-link-active {
      background: linear-gradient(to right, rgba(57, 100, 249, .6), rgba(57, 100, 249, 0));
    }

    a.router-link-active::before {
      position: absolute;
      left: 0;
      top: 0;
      height: 60px;
      content: '';
      border-left: 6px solid #3964f9;
    }
  }

  .el-header {
    border-bottom: 1px solid #ebeef2;
  }

  .el-header>div {
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ebeef2;

    .hdmenu {
      font-size: 30px;
      line-height: 70px;
    }

    .hdPart {
      display: flex;
      align-items: center;

      .icon {
        font-size: 30px;
        line-height: 70px;
        width: 50px;
        height: 100%;
        cursor: pointer;

        .icon-bell {
          width: 100%;
          height: 100%;
          display: block;
          background: url(../../assets/img/dot-ring.png) no-repeat center;
        }

        .icon-search {
          width: 100%;
          height: 100%;
          display: block;
          background: url(../../assets/img/dot-search.png) no-repeat center;
        }
      }

      .el-dropdown {
        height: 70px;
        margin-left: 20px;
        padding: 18px 0;
        cursor: pointer;

        .avatar-wrapper {
          img {
            vertical-align: middle;
            width: 32px;
            height: 32px;
            border-radius: 32px;
            background: #999;
            display: inline-block;
          }

          .Topusername {
            padding: 0 14px;
            color: #9fa4ca;
            font-size: 16px;
          }

          i {
            font-size: 24px;
            color: #747e93;
          }

          .icon-bottom {
            width: 24px;
            height: 24px;
            background: url(../../assets/img/dot-menuDown.png) no-repeat center;
            float: right;
          }
        }

      }
    }
  }
}